ADP\BaseVersion\Includes\Core\Cart\CartItem A

Total Complexity 66
Dependencies 3
Dependents 13
Total lines 550
Lines of code 250
Logical lines of code 125
Comment lines 154
Methods 41
Properties 17

Methods 41

Method Rating Maintainability Complexity Lines of code
setPrice()
A
51 8 26
__construct()
S
56 3 18
setPriceNew()
S
64 4 10
addAttr()
S
62 3 13
removeMark()
S
63 3 11
removeAttr()
S
63 3 11
calculateNonTemporaryHash()
S
58 2 15
areRuleApplied()
S
66 3 8
isPriceChanged()
S
66 3 8
__clone()
S
65 2 10
setMinDiscountRangePrice()
S
74 2 5
addMark()
S
74 1 5
getMarks()
S
82 1 3
getMinDiscountRangePrice()
S
82 1 3
getTotalPrice()
S
80 1 3
getMergeHash()
S
82 1 3
isHistoryEqualsDiscounts()
S
80 1 3
addAddon()
S
80 1 3
setAddons()
S
67 1 8
getAddons()
S
82 1 3
getAddonsAmount()
S
73 1 5
setOriginalPriceToDisplay()
S
80 1 3
hasMark()
S
79 1 3
getPos()
S
82 1 3
getHash()
S
82 1 3
getOriginalPrice()
S
82 1 3
getQty()
S
82 1 3
setQty()
S
80 1 3
getWeight()
S
82 1 3
setWeight()
S
80 1 3
getPrice()
S
82 1 3
getObjDiscounts()
S
82 1 3
getWcItem()
S
82 1 3
getDiscounts()
S
82 1 3
hasAttr()
S
79 1 3
getAttrs()
S
82 1 3
recalculateHash()
S
64 1 10
recalculateMergeHash()
S
64 1 10
setPos()
S
74 1 5
getHistory()
S
82 1 3
getOriginalPriceToDisplay()
S
82 1 3